package com.ld.xuanKe.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ld.xuanKe.util.TimestampStringConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @ProjectName xuanKe
 * @ClassName MySelect
 * @Author 刘邓
 * @Date 2023-12-15 11:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MySelect {
	@ExcelIgnore
	private Integer id;
	@ExcelProperty("授课教师")
	private String teacherName;
	@ExcelProperty(value = "选课时间",converter = TimestampStringConverter.class)
	private Timestamp time;
	@ExcelProperty("课程名")
	private String courseName;
	@ExcelProperty("课程说明")
	private String bz;
	@ExcelProperty("学分")
	private Float xf;
}
